Fix keys handling for the first person camera.
Add a method to limit the framerate.