Redraw the frame when resizing on Windows.