Page Actions can overlap other elements on the page

If you’re not careful, the page action area can collide with other controls on the page.

Would Flexbox help out with this?

No I think it’s just a bug. One of them is probably bring floated, which makes them no longer take up space.