fix glfwEnable|Disable, fixes #3059