Unilateral dumbbell row

When doing single arm DB rows, should I concentrate on keeping the dumbell in a vertical plane in front if me? Or is it okay to swing it out to the side like a lateral raise?

Am I concentrating on working lats and upper back muscles or delts?

It’s ok to allow a natural pattern that moves the dumbbell out wards