With the current implementation the window is white after creation. It will stay white until you do the first clear/display call. The more time you spend between creation and your game loop, the longer it will stay white.
A workaround is to clear/display the window right after its creation.