Fixed texture bugs in deobf environments