Fixed textures not loading in core profile