Fixed issue with matrix transform.