fix typo causing enemy direction not to change