[RFC] try fix disappeared taskbar item

Steps to reproduce:
- Set `IgnoreTaskbarOnMaximize="True"`
- Maximize the application
- Minimize the app and focus another application OR click somewhere on a second monitor
- Focus/Activate the original application again
- The taskbar item disappeared (maybe only after second repro)

Closes #1240