Otherwise we have a pie from -180 to 360 which is more than 360 and makes no sense.
mentioned in commit b45e5eb4