Add listener for window resize to force redraw all components