I believe when an insect molts, it puff itself up full of air, until their exoskeleton hardens. Afterwards, they deflate, and grow into their new skin, until it's time to molt again.
My best guess is that your mantis was still inflated when she looked huge, and has now deflated.