Fix for #2 - Exception thrown when iterating over an SVG Image