Fix for issue #149 (update of Texture clamp/repeat)