Fixed the bug that allowed the player to move at the peak of their jump