SVG.RBox should use getBBox method instead of getBoundingClientRect. see : http://stackoverflow.com/questions/11702952/how-to-get-width-of-svgg-element