using 'useQualityTriangulation' property to shape squares as well
Fixed a bug with triangulation