fix SystemTray bug