https://bugs.winehq.org/show_bug.cgi?id=57538
--- Comment #5 from tenchrio@gmail.com --- Issue does not occur in KDE and Gnome(both X11 and wayland for gnome).
While it does occur in XFCE the problem seems to stem from the XFCE Status Tray which doesn't respond to any refresh commands (I tried, using XSync, XFlush, and XClearWindow in the SystrayDockClear and even get_systray_visual_info functions, none had effect on the icon).
However in XFCE opening the Status Tray Items configuration and enabling "Adjust Size Automatically" solves the issue entirely even on repeat cases of sending the programs to systray.