Bug fixes in camera and debugview
Merge pull request #648 from anserran/camerasfix

Bug fixes in camera and debugview