Fixed two bugs around CGEventTapCreate.

I've fixed the following bugs.

* Fixed a bug that "Look up" feature of OS X (tap trackpad with three fingers) does not work properly.
* Fixed a bug that PowerKey changes power button even if other users are logged in. (with fast user switching.)