Mailscanner alters DKIM

When testing the sending mail to Gmail, the DKIM signature is not valid and seems altered (also tested on the site mail-tester.com)
I redid the test by uninstalling MailScanner and I get a score of 10/10 on mail-tester.com

How to solve this problem, please?

Can you please explain to me why when I completely uninstall MailScanner, I no longer have any problems with DKIM and the signature becomes valid (tested with Gmail) and a score of 10/ 10 on mail-tester.com?