Said in the summary, seen in screenshots 3 & 4.
Screenshots 1 & 2 indicate that the same kind of issue also happens when the player is standing on a slab, and on the half side beside a lava source block.
Attachments
Comments 7
Your hitbox is bigger than 0.5 blocks horizontally.
That's a separate issue that's also resolved as intended (by a dev).
duplicate