Avoid loading texture resources that are unused in mod configuration