Fixed a bug in game_position_pp function.