WS_VISIBLE only set if window needs to be visible.