Instead of telling it in the construction after forcing the window
creation, install an event handler that sets it when we get the
PlatformSurface event.
It has the advantage that it will also trigger in subsequent platform
surface events (e.g. after hide and show).