change SPPDetectorLayer to allow pooling on outside region