interface into main camera to prevent the glitch