[UMG Behavior] UMG cannot find some widgets to focus

When using keyboard or controller to navigate through a UI, UMG can’t find the next widget to focus in some cases.
I cannot say what the exact behavior is, but I can tell that, in the pictures, it should be able to find the buttons to focus in both cases.
In the first picture, it cannot navigate to the buttons, in the second picture, it can.