Fixed problem that keybowrd input did not make it to the WPF control