"TeamViewer" is not installed.
Back up all data before proceeding.
Hold down the option key and select
Go ▹ Library
from the Finder menu bar. From the Library folder, move the entire contents of the subfolder "Caches" (not the folder itself) to the Trash, then log out or restart the computer. Empty the Trash. Test.
If the problem is not solved, quit all running applications except the Finder. Open the Library folder again in the same way and move the entire contents of each of the following subfolders
Application Support
Containers
Group Containers
Preferences
(not the folders themselves) to a new folder on the Desktop (not to the Trash.) The "Group Containers" folder exists only in OS X 10.10 and later. Log out again.
The account will then be pretty much in a clean state. Test. If you can still reproduce the problem, then put all the folder contents back, replacing any that were created in their place, and log out.
To replace a preference file, you may have to move it to the Trash, then put the old one in its place. The change may take effect only after logging out.
If you can't reproduce the problem in the clean state, then start putting things back piecemeal, starting with items that seem unrelated to the issue. I can’t be more specific. After each group of items, log out and test. At some point, the problem may reappear, in which case you know that something in the last batch of files you restored is at fault. If it never reappears, the problem is solved.