Button Common Events skip map events

I'm having some trouble with Yanfly's Button Common Events (https://github.com/Archeia/YEARepo/blob/master/Field/Button_Common_Events.rb).


I have player touch events on the ground, like player teleports and things like that, and I have the button common events, doing various things. If you push one of the common event buttons as you're moving to a tile with a player touch event, it will do the common event, but skip the player touch event. It's not such a huge problem for the teleports, but I have some events acting as a barrier to the next area, and you can just skip right over them. Is there any way to disable the common event buttons while moving, or something like that?
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/button-common-events-skip-map-events.58059/