Fix access bug of visibility table.