try fix disappeared taskbar item

Steps to reproduce (UNDER WINDOWS 8 or 8.1):
- 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