preserve frame size for new font setting