Properties panel doesn't register layer selection if panel not active in a Panel Group
Steps to reproduce:
- Put 'Properties' panel in a stacked panel group, and select a different panel in the group (so that Properties is contracted, or 'closed').
- Select a shape layer.
- Click on the Properties panel to expand it (make it active).
Result: The Properties panel doesn't show any information or properties – the Panel title reads "Properties: No Selection". If you click on the shape layer with the Properties panel expanded, it then populates. Alternatively, if you expand and contract the Properties panel a couple of times, it populates.
Expected: Properties panel should populate with information on the selected layer even if the panel is contracted.
System info:
Application: After Effects (Beta) v22.5.0.14
OS: macOS v12.1.0, RAM: 64.00 GB GB, CPUs (logical): 10

