fix enemy flashing sprite