Fix right clicking on actionbar items to activate them

Fixes #833
Merge pull request #834 from dorkster/bugfixes

Fix right clicking on actionbar items to activate them