Corrected bug for text formatting in MiddlePanelSelect