fix incorrect coordinate space when drawing first poly-curve line