Fix TriangleArray iteration.