Fixed typo
Clear ghost window only if set