Header sub-menu now works correctly for image documents