Force the initial resize event in the injected ui