Alternative fix for crash in UploadGeometryVBOs