Updated animal input handling