Patch by Dahlia to fix texture animation