Fix bad use of math_clamp