Well, since it does not make any difference (if she is sitting at the river, she is not having lunch somewhere else), I guess both versions could be accepted.
for some reason, despite 'having lunch' is one of the two options give it is not accepted. Not the first time I encounter this. Difficult to guess which of the given options have been deemed to be the 'correct' one...