Polygon fill crossing IDL

Hello!
I ran into a problem when the polygon intersects the IDL and fill artifacts occur.

in 3d:
image

in 2d:

sandcastle