window: Bugfix point_to_char (and therefore selection) in the presence of tabs