Use popup instead of menubar and fix popup to correct position