fix: 5912: Resizing Brackets vertically does not resize the image currently in the window.

fix #5912: the img-header with style inline-block causes the resize problem. Setting to block.