LOL, I was just poking fun at my own poor use of language there.
(If we're able to actually get the best of both worlds, and neither "world" has to settle for second-best, then by definition there's not really any need to compromise.
OTOH, if we are compromising, that implies that both worlds are settling for less.)
But seriously, I haven't tried out the new enhancement myself yet, just read the discussion & michih's reviews & description of how it works.
And it sounds pretty good, for what we're working with.
How about this?
Test whether the northernmost point is inside the viewport.
If so, then open the popup at the northernmost point.
If not, then open the popup at the click location.
Would this work?