Fix invalid coordinate.