If the player jumps at the exact same time that they right click their bed, they keep their velocity from the jump and sometimes are able to completely fall out of the bed.
Attachments
Comments

[media]
Can confirm.

Still in 19w42a.

I believe this also exists in 1.18