Split polygons when clicked