Fixed handling of failure to open a window for OpenGL rendering