Only apply masonry to direct child panels of the dashboard panels container.

Fixes panels being broken in modals or when embedded in other panels.