fixed camera code not checking for invalid/missing datablock

Fixing crash on missing or invalid camera datablocks