Fix hiding of background-image after image loaded