[bezierLine] improve the quality of the drawing line