Fixes iOS8 not recognizing counterclockwise path correctly

Hi, made it work on iOS 8 - fixes #1