Being stritly less/greater causes a one pixel gap at the start/end of the ellipse, meaning flood fills can escape.