[#9563] onManagerMainFrameHeaderHTMLBlock event issue

http://tracker.modx.com/issues/9563