Thanks for playing!
The weird transitions are because of how the game is implemented. I'll go into the technical details in my postmortem but basically every component- menu, game over, cutscenes, chapters- is a separate executable. When you go to a chapter from the main menu, the main menu program exits and the chapter program is started.