Fixes some of the broken animation stuff

Removes dead code