The game exiting fullscreen instead of closing the menu on the web was an oversight. I uploaded an update that adds a close button.