[Bug 392] Endless loop of redrawing a constantly growing window