bugfix mouse position detection in menus