The problem was that the focus could only move vertically or horizontally. And because of my .frame() modifier, the buttons were positioned diagonally. The solution was to use .focusSection().
Here it's explained: https://developerinsider.co/swiftui-focussection-uifocusguide-alternative-for-swiftui/
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: