Correct winding number calculation when horizontal curves are involved.
Fix false negative and positive in the PathItem_Contains test file.