Bug in max-width generation