Unfortunately the still screenshots don't really show what's going on. I'd need to know the map dimensions and see the map properties for each one.
When you transfer, are you transferring to the very edge of the next map, or one tile in? How can you move a tile without turning around?
The plugin is based on character movement - with just a quick glance, it looks like the character must move, then when they stop moving (which they do with each tile moved to), it does the check. If you transfer to the very edge of the map and then press the button to go in the opposite direction, which means you face the other way but don't actually move a tile, I would expect it to not transfer. I can't be sure of that, though - I'd have to put some console output to confirm how often it gets called.