[TextBox] fix alignment issue with cursor.
Small moving to helper.