Note that I don't have any data that the global var hack was causing the bug, so this may or may not fix it. But it seems as good a candidate as any. Fixes https://gitlab.com/kicad/code/kicad/issues/12871
Also fix display of angle values since EDA_ANGLE was introduced Fixes https://gitlab.com/kicad/code/kicad/-/issues/12290