Remove another clamp function laying in the codebase and replace it with the one in MathUtil.h.