Mouse entered/exited not working properly with viewports

Godot Version

v4.6.1.stable.official [14d19694e]

Question

I’m making a categorized inventory with viewports and am using mouse entered and mouse exited to show item information, in some of the viewports the mouse exited gets triggered even when the mouse is hovering on the ui, i have the roots of the viewport scenes (texture rects) on stop mouse filter while the children are all on ignore there aren’t any controls covering the viewports these are my scripts:

script1 to trigger mouse enter:

func _ready():
	self.mouse_entered.connect(_on_mouse_entered)
	self.mouse_exited.connect(_on_mouse_exited)
	

func _on_mouse_entered():

	print("Mouse entered")
	info.show()
	info.position = slot.position
	info.display(item_ref)

func _on_mouse_exited():

	print("Mouse exited")
	info.hide()

script2 to trigger text:

extends PanelContainer

@onready var name_label = $Container/Name
@onready var desc_label = $Container/Description
@onready var stats_label = $Container/Stats

func display(item_data: i_data):

	name_label.text = item_data.name
	desc_label.text = item_data.description
	

	var stats_text = ""
	
	
	var stat_fields = ["Category", "Method", "Move_1", "Move_2", "Damage", "Strength_Required", "Intelligence_Required", "Dexterity_Required", "Power_Required",]
	
	for field in stat_fields:
		if field in item_data:
			var value = item_data.get(field)
			
			if value != null and value != 0 and value != "":
				stats_text += str(field).capitalize() + ": " + str(value) + "\n"
	
	stats_label.text = stats_text
	

	stats_label.visible = stats_text != ""

func _process(_delta):
	
	if visible:

		position = get_global_mouse_position() + Vector2(10, 10)

bruh forgot vid: https://youtu.be/VKNt7Z57GBM