Fixes osgjs parsing if there is no primitiveset