Well, I suppose I can, but any mod can do this, and asking every mod and script to never use a base game provided method isn't viable long term.
I would suggest to fix this on your side, by doing what most other mods and scripts do, and create and destroy GUI's when you need them. I have no doubt in the long run this will help prevent other mods/scripts breaking your mod in the same way.