ellipse: workaround for ellipse equation solver bug