Fix mask decoder lookup