Layouts: fix for layouts with right sidebar content.