More stable window sizing in switcher