Fix #13183: Wrong animation initial value calc. Ref gh-1136.