Fixed crashing bugs when selecting and unselecting image regions or targets with image regions. This is progress towards #87