fixed a bug in the flight control. Now, when the player releases the movement buttons, the player actually stops moving.