Fixing sprite animation bug

Problem was that in every loop a new Sprite was created