#9655: fix invalid simplified geometries
#9655: fix invalid polygons with buffer_0
#9655: check geometry polygon better
Merge pull request #1219 from ahuarte47/Issue_9655-1

Fix bug #9655: some polygons not labelled when layer's simplification is on