Another fix for the pawn movement issue