Fixed Errors when undo player right after spawning.