fix pointers in camera handing over std::vector