fixes getLookupCursor

Fixed:
When some wrong pinyin input entered, the lookup candidates disappeared.