When you save an htg using a bitmask and reloading, the bitmask seems to be off. See example below (before saving -> after loading).