If you hold three keys like left, right and down, and the keyboard recognises them all (so ghosting isn't a problem), then the left and right keys will cancel each other out as they move in opposite directions, and only the down key is left affecting the movement.
Your events need to set animations based on the actual movement direction rather than the keys held down in order to match the behavior's controls.