In my environment, I can reproduce this issue easily by sending several messages in quick succession.
I just tested it again (while my internet is fast), and it happens less often compared to when my connection is slower — but it still happens.
The interval between each message is about 0.5 seconds when I’m typing quickly.