camera.cpp hotfix (double casts)