remote app opens nany times

I have team viewer for ubuntu installed on a remote server. on the client side I have team viewer for windows installed when I access the remote site and I click on an application instead of one window opening it opens many so many it floods the screen and all I’ve done is clicked the application icon once has anybody seen this anyway to solve this?
it doesn’t happen all the time it doesn’t happen all the time just randomly