Fixed jump/animation collision detection