Fix PopupButton behavior in popup content