Fix bug with indexing clipping polygons