better camera handling
small refactor