Replace insertShape with draw_polygon