Fix determining bounding box of the edge collection in FillEdgeCollection().

There is necessary to account also x-ccordinate of the end of the edge when determining bounding box of the edge collection.
Merge pull request #3447 from a-wi:Fill_ellipse_arc