this has happened to me a couple times where i go to invite a friend to my depth and i accidentally join them in the haven. my suggestion is to separate these in the friend option menu. maybe put invite at the bottom so if u accidentally hit complain u can back out of the complain menu. or make it when you join have a warning message that says are you sure you want to abandon your current run and join.