3D transforms fixes