Fixes #17268, but I feel we could possibly get rid of the bool entirely since we have maxlevel. Only GL and D3D even looks at this flag. Oh well, that's for later.