minor mouse listener fix