restore mixed positions/anglemode enum (was causing backwards incompatibilities in mapscripts)
Fix crash on legends with sizeunits (#4785)