fix #4433: menu items missing in popup
Merge pull request #4443 from samueltardieu/issue-4433

fix #4433: menu items missing in popup