Doesn't matter if you change them in combat or not, you've still tainted these globals.
If the stuff you want to move around isn't secure, you should probably hook the functions that control the layout and alter the layout that way.
__________________
|