Fixed bugs in the controls

Now keys won't be "stuck" when you use them anymore