Bounded the value of setValue to 0..1