You can either get rid of a note that is after the last 16th of the measure or create different blocks of the BBeditor pattern instead of a long block.
In a snare roll, you may want to use 32th notes: if you put one at the last possible place, it will virtually exceed the measure (because of how pattern notes are made: they are not as long as shown in piano-roll)