Fixed clamp method in ColorRGBA.

Noticed that terrain painting didn't working correctly, because the clamp method wasn't exactly doing what it was supposed to do (or anything at all).