Index: /FCKeditor/trunk/editor/fckeditor.html
===================================================================
--- /FCKeditor/trunk/editor/fckeditor.html	(revision 1770)
+++ /FCKeditor/trunk/editor/fckeditor.html	(revision 1771)
@@ -343,5 +343,5 @@
 		// we care only about this window. Ticket #1642.
 		// #2002: The originalTarget from the event can be the current document, the window, or the editing area.
-		if ( e && e.originalTarget !== document && e.originalTarget !== window && e.originalTarget.ownerDocument != document )
+		if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
 			return ;
 
