fixing contextmenu positioning