### Godot version

4.0.dev (c309de53997feff3286295fb2d71657f112a15db)

### System information

Linux, Nvidia, Vulkan

### Issue description

Editor segfaults when certain conditions are met when using the AnimationPlayer editor.

### Steps to reproduce

1. Create multiple animations, saved into a animation collection
2. Open an existing animation, then make a new empty animation
3. Change from seconds to fps, or add a new property to animate ()
4. Editor crashes

NOTE: It is slightly random and I have not found a perfect repro

### Minimal reproduction project

N/A (TBD?)
if (check_rect.has_point(p_pos)) {
		return TTR("Toggle this track on/off.");
	}
	
	if (path_rect.has_point(p_pos + Size2(type_icon->get_width(), 0))) {
		return animation->track_get_path(track);
	}
	if (update_mode_rect.has_point(p_pos)) {
		if (animation->track_get_type(track) == Animation::TYPE_AUDIO) {
			return TTR("Use Blend");
		} else {
			return TTR("Update Mode (How this property is set)");
		}
	}
	if (interp_mode_rect.has_point(p_pos)) {
		return TTR("Interpolation Mode");
	}
	if (loop_wrap_rect.has_point(p_pos)) {
		return TTR("Loop Wrap Mode (Interpolate end with beginning on loop)");
	}
	if (remove_rect.has_point(p_pos)) {
		return TTR("Remove this track.");
	}
	int limit = timeline->get_name_limit();
	int limit_end = get_size().width - timeline->get_buttons_width();
	
	int limit_start_hitbox = limit - type_icon->get_width();
	if (p_pos.x >= limit_start_hitbox && p_pos.x <= limit_end) {