[TASK] Task offsets are not reset

Resolves: #58479
Change-Id: I08f29465eb7b9facc361b1bbbcf363a34c769e55
Reviewed-on: https://review.typo3.org/29842
Reviewed-by: Thomas Löffler
Tested-by: Thomas Löffler