Fix off-by-one in Animation