fix detonation on map bounds