move: Fix bug with the barriers overcoming in multi-window mode