prevented holding jump button to jump repeatedly