issue #5222: fix 4*4 mat to 2*3 mat converting bug