Fixed updateTransform bug.
Merge pull request #569 from timjrobinson/updatetransform-fix

Fixed updateTransform bug.