fix tab-on-select transfers focus to next element. fixes #898. fixes #1045