Stop displaying an image when src is set to null