fix bugs in renderView

mat2 should applied before y,z axis flipping