Corrects paste position for ellipse and circle and other code correction