Possibly fixed issues with OpenGL <3