Fix issue: not displaying correctly when the img element is within 'display:relation' parent