Unfocus the text area before snapshotWindow so that the caret doesn't appear in the snapshot. Bug 886737; r=ehsan