Fix up rendering of non-double-buffered overlays
My previous fix for this broke the progress bar in epiphany. This fix makes it work again, and keeps the gimp bug fixed. Basically, whenever we do a non-double-buffered rendering we have to flush the entire window as it might be drawn outside the double buffering machinery.
Showing with 9 additions and 5 deletions