Fix bug to render inline image.