Difficulty getting custom animations to work on objects