Fix for lines that overrun in the submenu.