Added temporary work around for supporting keyboard events on Linux