MV Plugin namebox help

I've been using YEP_MessageCore for dialogue for my game and it worked perfectly. Not too long ago however I received feedback asking for the ability to hide dialogue boxes so certain scenes were fully visible. I skimmed this forum and found an edit of the MessageHide code by Magnus0808 that made it possible. My only issue now is when you enter a new map, if the dialogue option first selected doesn't have a namebox attached to it. an empty name box spawns in the origin. When you select an option with a namebox being used the issue disappears until you load a new map. I'm not a code guy so my guess is when I copied the code I missed something. Or maybe there's something interfering between the plugins. It hasn't broken the game but I'm posting in hopes someone with more skill knows where I'm going wrong here.
why do you include 3 plugins, if you use all 3, are those put in the correct order?

Also, MessageHide seems to be missing SemiCollon ";" on hte end of the functions,
not sure if that cause the issue you are having though.
why do you include 3 plugins, if you use all 3, are those put in the correct order?

Also, MessageHide seems to be missing SemiCollon ";" on hte end of the functions,
not sure if that cause the issue you are having though.

The function of the secondary plugin was to make it so players could right click also to hide dialogue, since a lot of renpy games have a feature like that and a few players asked for it. But you asking me that made realise I should have turned each plugin off first to test which one was causing the issue. The one causing it is the MRP_HideOnRightClicks.js. I guess it must be something in that one.

Also side note, thank you for responding, you've done it a few times and it's really helped me bring my game along, so thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-namebox-help.131018/