[Bug 20046] MacOSX race condition during 3D/GL initialisation