Fix UI layout.