Fix bug with Point.distanceTo.