Fixed a bug where the enemy wouldn't die proplery