Fixed bug in Animation class, animations were never finishing