Re-report the height once a width is known, or when it changes.
The first show() of a session runs before layout, so it reserves the
maximum hint height. This corrects the reservation to the measured one
instead of leaving the composer over-shrunk until the next keystroke.