Fix Window.select_layout. Freeze 'layout' of windows