Polygon: fixing issue #8575.

[SVN r86775]