The XML layout contains a Compose View and a LinearLayout to act as a bottom navigation bar. This mimics a project that is in the process of migraitng to compose.
Connect a real device to Android Studio. Press TAB key on your phyiscal keyboard and observe the focus order. It goes from toolbar to bottom navigation and then to content. Once the last item is reached, the focus jumps to the toolbar and not the bottom naigation.
If you remove the topBar from the Scaffold the issue is not present.