Added get scale function for SVG element