add `data-{x,y}` attributes to `<svg:rect />` to make querying for them easier, this can then be used to re-align overlays with new dom elements