Fixed a bug on multi selected text disappearing