a few more fixes in WPopupMenu