Fixed weird movements after Ctrl-W