Merge "Ensure that ghosted view is attached when calculating its matrix." into sc-v2-dev