Fix mouse button issue in firefox