Added priority check to JoystickHandler to see which axis got the highest value