Fixed Animation

Animation now works properly.