fixed left-click right-click bug