Make it possible to override Window resize call in plugin UIs