White flash when app opens on Windows

There’s a rather annoying white flash while the app loads on Windows. It happens whenever the app is first loaded or has been minimized and is opened.

Moved to help for not following the bug report template