gfs: Fixed bug in index_to_point.