Fixed jumping bug