Added mouse state to button event.