The ROI should be set before adding the region