Notes dont stop sustaining when editing velocities!

Ok I just noticed something on a few of my libraries. Long notes dont stop sustaining/playback when I edit a note or change the length. It happens occasionaly. No idea why. This is very weird.

Why is this happening?