[UI Improvement] Fix button size and alignment
Currently, the buttons in the UI on the left side of the screen are not displayed correctly in certain cases (see the image below)
This should be corrected so that the text is displayed correctly, and the buttons scale correctly with the size of the rest of the window.