Animation handling
Fixed bug where the wanted indexs didnt reflect what was specified