Fix Transform adaptor ToHomogeneous implementation.