add camera mask check to visit