Fix bug with tray icons never redrawing.