[Panel] Update the Panel's header container when a new title is set, to take into account any size difference.