Fix bug where jump button out of sync with player