Fix text overflow issue in lot/lof entries with long titles #1427