Return to Rest not Behaving as Expected?

So here is an example where I am struggling to get the expected output.
Everything works in a setup like this:
https://playground.babylonjs.com/#LS8CPQ#5

but when I do a glb or a skeleton with the problems like above I am able to get the “bones” in the right place:
https://playground.babylonjs.com/#LS8CPQ#7

Then when I apply the skeleton the weights take effect and everything goes crazy!
https://playground.babylonjs.com/#LS8CPQ#8

How can I get a new mesh in the correct place and weight it with setups like this?