Fixed NPE on enemy death (might be a better way of preventing this?)