For inline images, such as buttons, we need the ing element to render inline, not block. If you need an image as a block element, wrap it in a fig element.