Large-scale magnetic fields enabling fitting of the high-frequency QPOs observed around supermassive black holes