Switched over to bezierCurveTo line algorithm.