Update animation demo so that it functions correctly

A small update that makes sure the animation demo actually animates.