Correcting bug with copy_from_native on stream callback