Issue 132: Skip keyboard handling if focus is on input element (thanks to Bingeling)