fix FontFamily not being set correctly