Fix the transformation from parameters to CRS