SVG: Define additional orthogonal check when determining shape type.

Closes #283.