See attached screenshots. Other situations shown in MC-89428 may apply as well.
Potential code analysis by @unknown can be found in this comment.
Related issues
is duplicated by
Attachments
Comments

[media][media]

Affects 20w46a
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w06a.
Can confirm in 21w07a.

Can confirm in 22w15a.
Can confirm in 1.19.2 and 22w44a.