Fix a bug of MouseStateMachine, and add double click special detect