fixed #4300 Grid edit textfield: can't place cursor or select text with mouse

Signed-off-by: Viduranga Wijesooriya <vpowerrc@gmail.com>