Fixed texture loading.