IsPointInside fix for transformed paths