Fix case when reading the camera parameters from a configuration file.