redo of input-focus bugfix