[ellipse] fix resizing