Fix null returns for play()

The play() method in the AnimationManager could return null for a valid animation name.