Small fix so that callbacks don't corrupt the buffer for buffered/polled mode. Now both can be used at the same time. Any frames caught by callback will not be buffered.