Clamp values on sensors y axis