Fix inconsistency of order of points of an arc