fix Robot#curveTo