Texture fix for a Android KitKat bug

Fixes #7