Statistics menu doesn't pause single player game for no reason
The Bug:
There would be a small moment that the game menu didn't pause in a single player game when clicking statistics menu and we can notice it more clearly while falling from a high place with slight menu background blur. By using scoreboard command, we can see this small moment is less than one game tick.(I don't think this could affect the game too much.)
Steps to Reproduce:
1. Join a single player world.
2. Turn down menu background blur to make sure you can clearly see the game screen in menus if you set the value too high.
3. Join statistics page and press "esc", repeat doing it.