When resizing the redraw is not done correctly.
When resizing the redraw is not done correctly.