backport a libtess2 fixes found in others forks to prevent a infinite loop (not all of them :()
Merge branch 'master' of ssh://github.com/kivy/kivy