Correct bug in wonWindow