Problem seems to happen at the camera object instantiation.