* xdisp.c (pos_visible_p): Check for invisible text at the correct pos (Bug#4040).