Added mouse button mapping because mouse button numbers are different between JavaScript and Vispy.