Fix order of up/down, function layer transparency.