Force a resize event when the ui is shown