Fixed bug occuring when multiple collision geometries reference the same primitive