Popup Menus

Fix popup menus (e.g. right-click menus).