Fixed camera flickering issues.