Don't run animator if it's not in use
Removed dead code