Fixed enemy death issue