fixed texture loading filename bugs