Reassign position and scale of the navigation gizmo
I'm answering myself in case this helps anyone in the future. The file to edit is \blender\source\blender\editors\space_view3d\view3d_gizmo_navigate.