fix WPopupMenu click regression