Fix breaking down of layout.