Fix error in Transform constructor.