Instead of looking at the player lying in bed nearby mobs will look above the player (see screenshots).
Steps to reproduce:
1. Create an enclosed room with a bed in the middle.
2. Spawn a bunch of mobs.
3. Set the time to night, go to bed and observe how the mobs look above you.
Linked issues
Attachments
Comments 3
Well I tested it and this issue did not existed before the single/multiplayer merge (1.2.5 and before)
I presume this is because your coordinates and not your orientation are used here. Your coordinates are probably right above the bed, and the mobs assume your head is a fixed distance above that. Minecraft is intended for standing up.