i just flash #31, the bug's gone, did a wipe before and after, plus again after installing gapps,
works great so far!~
i pretty much did the same thing!, but the bug's still there, i semi-fix for it was to disable rotation, then reboot, after which it will work, but if you enable rotate again, the bug will reappear