Fixed Targeting Bug

Now it is impossible to target null enemies.