fixed crash when monster flee'd outside the map