Fix matrix translation.