Fixed matrix display issue