Index: _source/core/dom/element.js
===================================================================
--- _source/core/dom/element.js	(revision 3493)
+++ _source/core/dom/element.js	(working copy)
@@ -1128,7 +1128,9 @@
 				}
 
 				previous = current;
-				current = new CKEDITOR.dom.element( current.$.offsetParent );
+				
+				current = new CKEDITOR.dom.element( current.$.offsetParent
+							|| current.$.parentNode );	// Probably a bookmark node here.
 			}
 
 			if ( refDocument )
