Fixed pause menu opening at the start