Fixed the lack of initialization in camera cal