#1090 Some fixes when rendering a widget with dynamic regions, when page is master page