clamped vertical velocity to fix falling collision bug