Fix resizing of toolbars