Possible fix for compass rotation