https://github.com/kivy/kivy/issues/1560