Fix for arcs that pass the positive x axis