Syntax fix for grid objects animation