umd intensity: fix loading layers after changing gain