Fixed ds_grid_set_grid_region and ds_grid_copy