Text is messed up after event loop

So I made a script-free fishing event that looks like this. (It gives a potion as a test item only)
N9zLj6U

AEkRQ

However, any time a text box shows up after that is severely distorted or appears off screen.
What could be causing this? I suspect it has to do with looping in my event.
Please configure Yanfly's message system correctly and don't use the variables configured for it for anything else.
Please configure Yanfly's message system correctly and don't use the variables configured for it for anything else.
Oh wow, I didn't even realize I had that script since I repeatedly use the same scripts on every game. Removing Yanflys message script fixed my problem. Thank you SO much.
It would have been better to just configure it correctly...

That script gives you the option to use variables for resizing and moving the message window, and you accidentally used one of the default configuration variables (ID 22) in your event.

Original thread: https://forums.rpgmakerweb.com/threads/text-is-messed-up-after-event-loop.85510/