Window smooth resize accounts for toolbar height if one is available, otherwise use titlebar height.