Added a check for IsInMap(cell) to missiles

and destroy them when they leave the map boundaries to fix #5582.