Force number values to be clamped because apparently browsers don't.