Make closepath commands update current x/y coordinates.

Per the SVG spec,
> If a "closepath" is followed immediately by any other command, then
> the next subpath starts at the same initial point as the current
> subpath.
Merge pull request #1381 from rodovich/closepath

Make closepath commands update current x/y coordinates.