Small beans, but...
When you pin the desktop app as a program on the task bar and then open it, it creates a separate icon for the opened session. It should work like other programs and only ever display the icon once contained in itself.