Bug 1070851 - Make touch caret respect snapshotWindow(). r=roc

Avoid capture touch caret when the argument 'withCaret' is false in
snapshotWindow().