Analog control not working as it should