bug in the animation positioning code i didn't notice