Fix a crash while wearing sensor goggles.