Fixed jumping behaviour.