Oh do you mean enemies are teleporting to random positions when entering a map? This can happen if they occupy the same tile as you are entering into while going into a map.
Oh, yeah, exactly that, though it`s weird to see then warping through the map, good thing it`s intentional
I've made it so they prioritize adjacent tiles instead. Will be less strange.