Corrected TForm error in animation system