minor mouse optimization