Fix non-uniform scaling on 2D transforms