Fixes #456 - Improves exporting of visualization images

fixes export to include svg classed element