What the poster above me said.

If the enemy can't attack you because a wall or object is in the way, it runs right to you. If there are no walls you can just drag the mobs to them.

SE stopped making enemies like that anyway, as far as I remember. It just remains for old dungeons, particularly from ARR.