Image replacement technique for sprite sheet animations