Player view is floating above bed instead of on bed
When sleeping in a bed, the players' head is floating about a block above the bed instead of resting upon the bed, the camera can be affected by blocks that are obviously a block above beds as well, so the collisions are affected as well.
(You can see in the image that the redstone lamp has pushed me to the center of the 2 beds)