use DeferWindowPos() for hopefully less flicker