border highlights empty images sometimes