Bug fix in AnimIcon example code

Signed-off-by: Jarrod Bell <jarrod@commandfusion.com>