Restore Firefox max-width fix from 9b9140fae898da4602c4a5ffecda01f8bc6827e4