Refresh visualization on container size change.