Handle nested polygons in clip/erase