resets the player when loading a new scene and small fix to jumping for dying while jumping