Fixes #17062. Fix autoscroll when navigating among focusable elements using TAB/SHIFT-TAB (desktop) or PREV/NEXT (mobile soft keyboard)