Fixed camera resize error.