It's a problem with WebGL. The browser often eats the esc input. BUT if you put the pause menu anywhere else nobody will find it.