corrects bounding rectangle for ellipse