A minor change to get the point at the index.