### Godot version

4.0-beta12

### System information

Windows11 Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1080

### Issue description

Can not assign "SpriteFrames" resource file to SpriteFrames attribute in custom resource file, it alert "Recursion detected, unable to assign resource to property."


### Steps to reproduce

Please look uploaded project. try assign new_sprite_frames.tres to frames in custom_res.tres.

### Minimal reproduction project

[GodotCustomRes.zip](https://github.com/godotengine/godot/files/10419770/GodotCustomRes.zip)

float rel = mm->get_relative().x;
		if (rel == 0) {
			return;
		}
		if (flip) {
			rel = -rel;
		}
		float val = get_edited_object()->get(get_edited_property());
		bool sg = val < 0;
		val = Math::absf(val);
		val = Math::log(val) / Math::log((float)2.0);
		
		val += rel * 0.05;
		val = Math::pow(2.0f, val);
		if (sg) {
			val = -val;
		}
		
		
		if (Math::is_zero_approx(val)) {
			val = 0.00001;
		}
		
		
		val = CLAMP(val, -1'000'000, 1'000'000);
		emit_changed(get_edited_property(), val);
		easing_draw->queue_redraw();
	}
}
void EditorPropertyEasing::_draw_easing() {