After Teamviewer session on mac Sierra the mac os account is disabled.

I don't know what is causing it when I use a Teamviewer session on my mac, my account on the Mac computer always changes to "Account disabled". I have to go into recovery mode and reset the password in order to log back into the computer. Is there any setting I can change in Teamviewer so it won't disable my Mac account?