Fix the crash when it assumes the platform does not support multiple windows as GL...