Call cam.roi.resetRegionOfInterest only if cam.roi is not null