Draft: fixed small bug in bezier-to-svg code