fix text cursor for wrapping text-fields