fix WPopupMenu regression, consistent use of relative URLs and internal path glitches