ROI tool: fix bug that prevented repositioning of the ROI