Remove unreached line in animation constructor