Fix to resolution gaussian smearing