Fixed and IllegalStateException in the player.