updated camera handling

* Fixed some bugs
* TPA camera mode does work now