Fix auto play for image.