Fixed a bug that caused a crash when the system location of an object had been deleted