Ligature selection fix

Fix crash on ligature selection in CJK font; more info in first commit log