fixed errors in the unit movement animation