fix x-popup-menu alignment

change x-popup-menu to leftalign and fix coordinates