Fixed jumping and velocity bugs.