Fixed: GLFW causes segfault when trying to call a function on a window
when context creation has failed