Fixed texture loading problem and TypeArrayWrapper initialization.