Character is not animated while the code is not running, fixes #16