Steps to reproduce:
Set time to night
Place a bed (not near ice; look at exceptions for explanation)
Spawn a villager close to the bed (not too close nor on the bed; look at exceptions for explanation)
Expected behavior:
Villager paths to the bed and it’s model is centered
Actual behavior:
Villager paths to the bed, but it’s model is off-centered
Exceptions:
If the villager’s final position before sleeping on a bed is on ice, the villager’s model will likely be off-centered, but sometimes may be centered
If the villager is close enough to a bed to immediately sleep on a bed without needing to path/walk, the villager’s model will be centered
If the villager is on a bed before sleeping on that bed, the villager’s model will be centered
Can confirm in 1.21.11