MV Issue with Yanfly's Save Event Locations

I've been having some problems with this plugin: http://www.yanfly.moe/wiki/Save_Event_Locations_(YEP)

I have some events in a map, and the plugin is active thanks to the <Save Event Locations> map notetag.

If I change an event's position using the usual eventing method (Set Event Location under movement on tab 2), then the plugin works fine. It will move as expected, and then stay in that position if I leave and re-enter the map. However, if I try to set an event's location using the script command character.locate(x, y) (for example, $gameMap.event(2).locate(3, 4) ), then the plugin prevents the command from working - the event will stay in its initial position and ignore the script command entirely. Is there any way to work around or fix this? (My current workaround is to use a different save event location plugin that works in a different way, but it would be nice to get the Yanfly one working).
If you look at the code, it seems that they added something extra when using the event command. So for the locate script, try:

$gameTemp._bypassLoadLocation = true;
$gameMap.event(id).locate(x, y);
$gameTemp._bypassLoadLocation = undefined;

Seems to work for me. But the map notetag doesn't save the locations for me even when using the 'set event location' command. Needs to have the notetags on the events. But yeah, didn't spend too long trying to figure what it does.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-yanflys-save-event-locations.177429/