Fix compile error in Animation.java