008 animation.py  patch suggested from thepythongamebook forum