Revert "Fix crash in UploadGeometryVBOs"

This reverts commit a972ed080ce76cd82d853d0031278e6cd3a7129c.