Revert "Fixed an issue with texture animations"

This reverts commit e55d5b04bb4f6955184153cfcf8950627047d033.