Fix instancing failing when doubled objects.