Catch some errors in createTransformation.
Remove updateSize for texts in transformImage