C++ bitmask enums appear to be offset by 1

Thanks so much for doing the legwork on that one!