Polygon triangulation not totally working

he sometimes does not connect the lines the right way.
better fix dis.