Monsters change target if target too far

When doing group activities, I find it weird that a monster will run all the way to its maximum range and come back without attacking anyone.

When a monster’s target is too far, it should switch to the nearest target. Not come all the way back to its spot and then find a new target.

It’s just weird. And it would add a little more complexity to the game. It’s just too easy to go in areas when it works like it does now.