Fixes for rendering angle labels and quads

Several changes aimed at drawing quads correctly in the exercises that use them.  So it's about fixing:

Overlapping angle labels (#68799)
Them (rarely) getting drawn partly off-screen (discovered while fixing the above)
And a general fix for all angles, where obtuse angles around 155 degrees would clip into the closest lines.