Added a null check in Clamp.
Added a null check in Clamp.

webdev1001/shifty,acidhax/shifty,modulexcite/shifty,modulexcite/shifty,GerHobbelt/shifty,webdev1001/shifty,acidhax/shifty,jeremyckahn/shifty,GerHobbelt/shifty