Fix breaking changes from changes in TextureManager