Fixed int/float issue for pitch