Fix portal visibility table bug.