Calculate SVG dimensions using getBoundingClientRect and set transform-origin defaults to what Panzoom expects