Merge "Fixes crash when getting panel before setting components"