protected final void SizeChange(int width, int height) {
this.width = width;
this.height = height;
+ root.width = width;
+ root.height = height;
+ root.needs_reflow = true;
abort = true;
long lastResizeTime = System.currentTimeMillis();
lastResizeTimeTop = (int)(lastResizeTime >> 32);
if (y+h > height) h = height - y;
if (w <= 0 || h <= 0) continue;
- root.render(x, y, w, h, backbuffer);
+ root.render(0, 0, x, y, w, h, backbuffer);
// if any area under the scar was repainted, rescar that area
if (scarred && x < hscar + scarPicture.getWidth() &&