Fix NPE in Region editor using the isActive flag in IRegion