Solved problem by stopping/starting camera while tab switching.