Fix bug with potentiometer input treated as signed value