Fixing animation bug!

No more index out of bounds, hopefully <3