fix focus in mobile. fixes #1018