SVG works, graphics constants added, shared variable issue doesn't appear in svg?