An other approach to fix the focus bug.