camera: test fix camera crash