fix #4433: menu items missing in popup

@Bananeweizen: please check that it does not reintroduce the problem you were having in #4426.