Changed the code to use colorAnimation, now it actually works.