Fixed the issue with seg fault, missing buffer pointer in Camera class