Fix centering of UI components