Readded invalidate for TextGridWindow after inadvertently removing it.