It’s a frontend edge case bug and likely needs to be reported to Twitch via uservoice https://twitch.uservoice.com/
It is something I have observed, but I don’t have a “reliable” reproduction case to present.
When sending messages to chat myself. (Hovering the chat rather than reloading will “fix” the problem when I do observe it)