After much memory corruption and insanity, animations work. FOR REAL THIS TIME.