Reverted change that made textures unreadable