Fix bug when rendering first arc