Another rotation sensor-related bug which caused navigation bar glitches.