Fixed jumping

Prevented the player from being able to jump when colliding with the top of a object.