SVG parsing fixes
- fix closed objects
- fix undefined position offset