Fix the problem which the player cannot jump after going to option menu.