fixed the rotation to the same tile, and fixed the character die situation