Some people purl that way on purpose and then correct it by knitting into the loop at the back of the needle. It can prevent rowing out. Purls tend to be looser than knits and wrapping the yarn the other way makes them tighter.
Cheating is an option. . . . Cheaters never win and winners never cheat, but smart knitters who want to retain an iota of sanity do, cheerfully. ~~Kory Stamper