Round the origin of arrow

Add round(x)/round(y) at the end of calculating the origin of arrow to avoid blurring drawing.