Fix Inspector locator crashes