Get rid of conditionals in horizontal Clamp/Wrap functions - put
them outside