tvOS Menu button with GameController API

Having an issue with the menu button on tvOS. I’ve got a finished game and an in-development game. The finished game works fine, it exits to the OS if I press Menu at the title screen because I have SDL_SetHint(SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS, “1”); in the event filter. In the in-development game though, it doesn’t exit to OS.

Both games use pretty much the same code and I can’t find any difference related to this except that the new game uses the GameController API while the old one doesn’t. Does the GameController API do anything related to the menu button? I want Menu to go back to the previous screen, except at the title screen it should exit to the OS.