diff --git a/scripts/system/html/js/entityProperties.js b/scripts/system/html/js/entityProperties.js
index 78a6e26ff0..021a27152a 100644
--- a/scripts/system/html/js/entityProperties.js
+++ b/scripts/system/html/js/entityProperties.js
@@ -3503,6 +3503,7 @@ function loaded() {
deleteJSONMaterialEditor();
}
}
+ lastEntityID = null;
resetProperties();
showGroupsForType("None");