Fix mouse click error.