I am glad that it recovered, but if this smallish box,where the fluffy butt of a hen can be seen, is your broodies nestbox, the next accident is about to happen, as chicks might fall out and being unable to crawl back, will get cold and die.
Your broody needs a bigger nestbox so the chicks will...