This can happen with a savings account too - an offset is just a savings.
There is an old case, Domjam I think. Where a woman borrowed money and then parked it in a savings account before using it. The connection between the borrowing and the investing was broken and the interest...