Fix TiledPolygon main flicking cause
Improve polygon on terrain : take into account elevation, and add some robustness check