Fix regression introduced by max width check