fix creating an ellipse