fix enemy movement bug