### Godot version

v4.0.beta16.official.518b9e580

### System information

Vulkan API 1.2.231 - Apple M1 Max

### Issue description

AnimatedSprite2D `play` seems to not work anymore. Maybe it is related to https://github.com/godotengine/godot/pull/71907
I have two animations: `default` and `hurt`.
<img width="865" alt="Screen Shot 2023-01-28 at 11 06 13" src="https://user-images.githubusercontent.com/3025661/215270842-998dc3e5-7695-4099-a9b3-8b52ef66d768.png">
<img width="865" alt="Screen Shot 2023-01-28 at 11 06 19" src="https://user-images.githubusercontent.com/3025661/215270891-c4df02e2-444c-4477-b273-bb13d909ea84.png">


---

When I call `play("hurt")` nothing happens.
<img width="506" alt="Screen Shot 2023-01-28 at 11 07 41" src="https://user-images.githubusercontent.com/3025661/215270901-119c0801-d6cb-432b-b320-f7e2822a6511.png">


https://user-images.githubusercontent.com/3025661/215270941-d56753fb-8653-40e6-8094-98537fb88187.mov



### Steps to reproduce

Download the project, run the project and press space bar. The expected behavior is switch the green checkmark for a red X.

### Minimal reproduction project

[animated_sprite_2d.zip](https://github.com/godotengine/godot/files/10527438/animated_sprite_2d.zip)

void set_tree_root(const Ref<AnimationNode> &p_root);
	Ref<AnimationNode> get_tree_root() const;
	void set_active(bool p_active);
	bool is_active() const;
	void set_process_callback(AnimationProcessCallback p_mode);
	AnimationProcessCallback get_process_callback() const;
	void set_animation_player(const NodePath &p_player);
	NodePath get_animation_player() const;
	void set_advance_expression_base_node(const NodePath &p_advance_expression_base_node);
	NodePath get_advance_expression_base_node() const;
	void set_audio_max_polyphony(int p_audio_max_polyphony);
	int get_audio_max_polyphony() const;
	PackedStringArray get_configuration_warnings() const override;
	bool is_state_invalid() const;
	String get_invalid_state_reason() const;
	void set_root_motion_track(const NodePath &p_track);
	NodePath get_root_motion_track() const;
	Vector3 get_root_motion_position() const;
	Quaternion get_root_motion_rotation() const;
	Vector3 get_root_motion_scale() const;
	real_t get_connection_activity(const StringName &p_path, int p_connection) const;
	void advance(double p_time);
	void rename_parameter(const String &p_base, const String &p_new_base);
	uint64_t get_last_process_pass() const;
	AnimationTree();
	~AnimationTree();
};
VARIANT_ENUM_CAST(AnimationTree::AnimationProcessCallback)
#endif