fixed startup for OpenGL 2