Fixed instancing bug