/Engine/Source/Runtime/Engine/Classes/Engine/GameEngine.h
Changes the game window to use the game viewport instead of any loading screen or movie that might be using it instead
void SwitchGameWindowToUseGameViewport()