This is a minor bug but i still thought i would report it. If you go into third person, you can angle your camera in a way that wakes you through the iron bar.
Linked issues
relates to 2
Attachments
Comments 15
Can confirm in 21w42a, though I'm pretty sure that this is intended due to the fact that Mojang considers MC-181095 to be a valid issue.
I can confirm for 1.16.3 but this might Work as Intended based on MC-175866