Fix a crash of the TextureManager

No match.