fix an issue with icon hiding not being respected on relaunch