fixed compassOffset
fixed crash