Mobs have to be within the map to attack them and they also require direct line-of-sight which is why my picture shows the center of the circle within the map boundary and a straight line between the targets.

-ALS