Fixed the controls for moving the mouse