I found 3 conflicting sources on Margareta's parents :
Genealogisches Tabellen, Johann Hübner, 1728 : https://books.google.fr/books?id=P1RnXUf47ksC&pg=PA906 -> Margaretha daughter of Rudolphus Scherfenberg This version is very problematic datewise.
Allgemeines historisches Lexicon, Johann Buddeus, 1740, voll. 6 : https://books.google.fr/books?id=R9NPAAAAcAAJ&pg=PA1179 -> Margaretha daughter of Wilhelm Scherfenberg and Agnete von Raimburg
Genealogia familiae Comitum de Gallenberg ,1680 : https://books.google.fr/books?id=vbxUAAAAcAAJ -> Margaretha daughter of Wilhelm Scherfenberg and N. daughter of Henrici von Montparis