Fixed camera related bug.