fixes damage caused by animation