fix matrix render

Signed-off-by: rise <rise.worlds@outlook.com>