pack() after maximizing, takes care of #2562