Use requestAnimationFrame instead of timer for keyboard controls.
Fix autorotate.