Compass inconsistent with PX4 cube orange


I’m using a Cube Orange with PX4 1.11.1 firmware and Here 2 GPS. When I calibrate the compass sensor without rebooting it does work just fine. However, every time the system reboots , the compass heading becomes inconsistent (the heading of the compass starts moving it starts to move, even if the cube is fixed).
is there a solution to this problem?

Is the internal compass disable? Usually internal compass creates compass inconsistency because of all the wiring around it.

Thank you for the reply.

I have considered that, but with the same hardware installation using Ardupilot firmware I did not have any compass inconsistent problem.
Is there any PX4 fix or tips how to solve this problem?