Use correct margin width when calculating max label width.