fixed player.entity displacement after entity sorting