Added some craziness for SVG's.