fix bug that allowed player to move while paused