Fix for transformation estimation