Fixed a bug that had stopped the images from fading in and out