Fix emit errors when keyboard events occur and nothing is focused
Fix emit errors when keyboard events occur and nothing is focused

jkieboom/mayhem,jkieboom/mayhem,jessevdk/mayhem,QuinntyneBrown/mayhem,QuinntyneBrown/mayhem,SitePen/mayhem,SitePen/mayhem,jessevdk/mayhem,jessevdk/mayhem,SitePen/mayhem,jessevdk/mayhem,jkieboom/mayhem,QuinntyneBrown/mayhem,jkieboom/mayhem,QuinntyneBrown/mayhem,SitePen/mayhem