Correct bug preventing ROI markers from being erased.