Bug fix: updateTransform for curves.

In updateTransform there was a call to setPosition() instead of
setCoordinates()