translate animation bug fix