Fix issue #11: Stop events from being handled by other processes when shortcut button was pressed