There’s a lot of current related issues here. You may have to move some of the power wires away from the compass/GPS module and work on shielding. It’s common with the cube to suggest using the external compass over the internal, but the external on here looks like it’s getting much more interference.