The problem persists no matter what magnetometer is in use (there's three of them on Navio 2). So I'd rule out this. Thanks for the input, though. And sorry it's taken me so long to reply.
@rmackay9 I'd very grateful if you could take a look at the logs and see if there's anything wrong there that could be fixed.