fix bug on wrong cursor coordinates when textarea case
rebuild