fix incorrect mouse nav in some cases