fix disappearing after minimize