Fix TextureManager being a bitch