Fixed corner animation by adding corner_dist reset.