Fixes svg drawing functionality

Ref #78