Match drawing in GTK2 and GTK3 OpenGL.