Add an additional check as pasteAsFragment's dispatchEvent can end up removing the client. <rdar://problem/88180543>
Created attachment 450545 [details] Patch
Committed r288960 (246689@main): <https://commits.webkit.org/246689@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450545 [details].