fixed a bug that windows does not show when you click on the tray