Handle resizes in IO visualizer better.