fixing SVG export bug where repeated overlay got exported on its own