corrects paste position of circle and ellipse and other code correction