fix black screen issue while page is launch as main window manager