Python/SmoothTexturedPolygon: Fixbug for windows