Normally if I'm doing any kind of marshy area I stop my river just at the edge of the marsh and start it again at the other end (assuming a river flows out of the marsh. )