fixed bug: lighting fails to update after animation