Fix rounding in composer item text width calculation