Fixed animation problem

There was a problem where the player would display a jumping animation
instead of a grounded one.