Make overlay_scale logic consistent with overlay_alpha.