Added freezing of player when dead and stopping of animation