thats weird, i dont know to be honest, it looks like it should work, maybe in gdscript, when you hover over the tabs, it gets mouse input, and when you hover over the node2d, the node2d gets the mouse input, im not sure if it will work like this but you could try