camera: fix c++11 narrowing