Fix animations of inferred types