Fix an issue causing a lot of invalid solids when opening OBJ files