Fix bad use of math_clamp

ok I reverted that