Fix drawing of the path on the other side of the world