Fixed a bug in mouse buttons.