Fix quick direction switching for left/right keys