Fix undo for removing player doesn't work