DAR-826: fix layout not being centered after max width.