Adjust the locked ROI, so video file and captured image from camera won't get exceptions.