Solved allowed jump when exiting scenery (no jumping) and entering empty space.