fixing a crash when switching from text to map screen with mouse outside of map area