fix visibleAtLaunch window