Dead baby sparrow with head poking out of nest box

There is a dead baby (think) sparrow in my nest box. What seems interesting to me is that its head is poking out the front. Does anyone know if this means anything, for example if it might indicate a problem with the box?  It’s a new box up this year, facing north.