Popup menus in the right position