fix(layout): limit region scope to the layout element

related to #1645