Fix a couple incorrect uses of ringbuffer pointer data