Fix 3D view on OpenGL older than 1.5