ux/frames: Avoid splitting frames horizontally