fix unit animation bug when freezing