ViewportContainer does not forward input events to its children

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tomadimitrie

Here is my node tree:

node tree

In the CanvasLayer I have an Area2D with a ColorRect, and I have connected the _input_event signal to a function. However, none of the mouse events gets called.