Fixed opengl driver crash