It happens to me sometimes too and I just turn them inside out as soon as it happens if it doesn't change the pattern at all. I am pretty sure it happens to me as I am knitting those first few rows. they don't actually get 'twisted' but they do twist themselves between inside out and right side out so i just don't worry about it until i get to the stockinette part and then pop them through so they are the right direction.
probably not technically correct but it has never effected the outcome for me.
(boredom after the gusset is what effects the outcome for me...lol [that was for Dustina])