fixed bugs in code for alternate camera viewing