Add invisible image tags to cache images used in animation