Fixed a bug where ScreenMode Windowed has not been applied