eliminate the lose of key press

root cause: ringbuffer tail run too faster to get the correct frame