Fix ObjectAnimation example in docs.