(get_gstring): Don't use the cached gstring if cursor position is