Fixed wrong calculation of column width