Weird image border workaround

border applied to image, not to div