Possible fix for #140. I need someone to help me test the texture id.