If your mantis hasn't molted already, you can get round this by attaching its hinf legs to the roof of its enclosure yourself. It will still be able to molt as it would be the 'old skin' attached to the roof, not the new one. I had to do this recently with an orchid mantis which molted fine