fix 2d.path.rect.winding
fix minor bug when incoming is not a string