[WPF] Fix KeyUp event