Fix issue with non-dynamic polygon drawing for shapes that cross the antemeridian.