a better place to show the window

Now the first repaint will already draw on the window and we never see
the grey background.

Change-Id: Ibf44a77b5768979f9081b4f80f6f0a73e5023437