Fixed compass bug