diff --git a/scripts/system/html/js/entityProperties.js b/scripts/system/html/js/entityProperties.js
index 4cee3c0bc7..d7800ada5d 100644
--- a/scripts/system/html/js/entityProperties.js
+++ b/scripts/system/html/js/entityProperties.js
@@ -2950,7 +2950,7 @@ function createProperty(propertyData, propertyElementID, propertyName, propertyI
*/
function parentIDChanged() {
- if (currentSelections.length === 1 && currentSelections[0].type === "Material") {
+ if (currentSelections.length === 1 && currentSelections[0].properties.type === "Material") {
requestMaterialTarget();
}
}