Index: /CKEditor/trunk/_source/plugins/menu/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/menu/plugin.js	(revision 7672)
+++ /CKEditor/trunk/_source/plugins/menu/plugin.js	(revision 7673)
@@ -176,4 +176,9 @@
 			onHide : function()
 			{
+				this._.unlockSelection();
+				this.onHide && this.onHide();
+			},
+
+			unlockSelection : function() {
 				// Unlock the selection upon first panel closing.
 				if ( CKEDITOR.env.ie && !this.parent )
@@ -182,6 +187,4 @@
 					selection && selection.unlock( true );
 				}
-
-				this.onHide && this.onHide();
 			},
 
@@ -260,6 +263,8 @@
 					this._.onShow();
 					// Don't menu with zero items.
-					if ( ! this.items.length )
+					if ( ! this.items.length ) {
+						this._.unlockSelection();
 						return;
+					}
 				}
 
