make popups more predictable

Related to https://github.com/ArcBees/GWTP/issues/554
I'll check ie8 before merging I suspect it will work fine now since the work is done in setPopupPositionAndShow so there's no race condition.