Fixed bug where pause menu worked unfocused