Fix issue when change textbox cursor

Fix issue when change textbox cursor