Fix embedded SVG document positioning. Fixes #625