Fixed NPE killing entity with last move