Reverted back to transform3d, bug fix