I think this is a problem of teamviewer.

I even could not find where is “local connection access” on teamviewer