Fixed the overflow issue with the filename in the menu.