window: Correctly handle tabs in point_to_char (was easier than I thought)