World Origin Rebasing does not work more than once

I attempted this on my end, however the world origin seems to be updating as I would expect. I made a slight modification to the script you provided, try this and see if it does what you are expecting: