fixed uninitialized variable in camera.cpp