Corrects paste position for ellipse and circle and other code correction

What does these lines do? How are these values assigned to the new instance?