Fixed bug that threw NPE when deleting rooms near the edge of the map.