Fixed compass reset issue