fix bug window manager starting too fast