"nearest target" macro?

its only a real problem when Im in a tight area where youre looking from behind instead of above, such as the stockades. My screen isnt 3D. I have no depth perception, obviously, so when I cant look from on high at the battle there are times when I think Ive got something targeted in this room and its actually in the next. Not caused any wipes or anything, but I hate being the idiot who has to say “sorry…my bad” when I pull in the entire next room over it.
its quite absurd to even CALL it ‘nearest target’ when it is anything but.

Just hoping someone had figured out a way to macro it by now or something. Really annoying at times