Made glfwGetMonitors work from monitor callback.