Fix bug in initPawns.