0.2 code fix for bind textures