Fixes section formatting after adding container to layout