Reset self._keyboard after use

Reset self._keyboard to None when TexInput is being defocused.