Fix shift key press being "eaten" when not in focus