polygons: fix onion style cases