[[ Bug 12404 ]] Ensure window buffers are flushed to screen before attmp...

...ting snapshot.