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