Jump fix

Fixed a problem with jumping