Optimized Texture loading by only loading the same texture once from the XML file.