[Polygon] Fix rectangle test, failing on some platforms
Merge branch 'master' into develop