Quick fix to camera glitch bug