TextField#getSelection fix
Merge pull request #1107 from seroperson/master

TextField#getSelection fix