I usually don't get this wrong in other languages.
Does it work the same way in other languages? The only other language I know any of is French, which also declines personal pronouns by case, but "je et mon ami allons aux magasins" looks wrong to me even though "on a vu mon ami et moi" looks fine.

Peter