This was an old bug, but back under some (not reliably reproducible) situations.
If you type two messages in rapid succession, and then delete the first one, sometimes the avatar next to the first message also disappears.
[Observed on Electron Mac app]
UPDATE: .... but after a few minutes, it fixes itself