May be related to this: Animation Helper - #3 by Joe_Kerr (breaking change)?
If so, better use the enum for the loop mode.