Fixed weird falling and keypressed bugs