Repair RefactorWindow.