I think I know how to reproduce.
During play, press a key which switches application in OSX (for me it seems I have bound the paragraph sign key), and then cmd-tab back to the game. Then the game does not restore its fullscreen behavior to hide the menu bar/dock. A very minor issue, since I can just restart the game to fix it.