Release held keys on the keyboard when window focus is lost.