Fixed caret selection issue in inputbox
[Title] Fixed carret selection issue in inputbox
[Issue#] N/A
[Problem] Caret was set at the end of text field even after
long press in between the input box.
[Cause] Invalid points were passed when the touch point was
on the border of the inputbox. Focused frame points were
passed.
[Solution] Handled the border cases and set the proper
touch point. Set the mainframe point with the difference
of rect and focused frame point
Change-Id: Id3cd249c52e47764c34e28eee82125e07f219c54