Updates #24 - fix for invalidating compass.