small fix to canny detector roi disabling.