Force mask to be ndarray