New MIDI parts fill entire locator range

I’m recording new MIDI parts, and after recording has stopped, the parts fill up the entire locator range. I’ve searched through the setting and preferences but can’t find any setting that seems to help this.

Any help would be greatly appreciated.

I think this happens only when “cycle” is turned on.
Turn of cycle and the parts don’t fill to the locators