Blur Current Editor when focusing Pane W/O Editor the Focus from the Global Menu

This fixes the case where the editor should be blurred but was not because the tag name used a case sensitive compare method and didn't recognize that the editor currently had the focus because of it.

This is for #9664 
CC: @redmunds