replacing the abrupt shadows from white frames