Fixed text layout issue in the main screen.