fix #913 bad circle/ellipse for line instruction