Fix issue with stroke offset incorrectly under certain winding situations