animation: fix #1255, from the #1320 pr.
Merge branch 'master' of ssh://github.com/kivy/kivy