Fix for crash when pausing app, if no heading sensor listeners registered.