Fixes #15628. show() now calls resize() to solve layout issues due to the content not being visible initially