Add support for the max-layout-width feature when empty regions are used.

I discovered that the max width feature was not working on pages who used empty side blocks region like the profile page. So adding support for it.