I need some help with replacing a block and putting it in the same spot as the original one.

https://flowlab.io/game/view/835073
If you go into my game, and hit the 2nd ? block, the replacement block (which is there because if the original one was there, you could make infinite powerups) is always not in the right place. I hope someone knows how to do this right!