Fixed camera bug introduced in the previous commit.