Snap goes past the border of the item it snaps to

What is your operating system?
Linux (Ubuntu)

What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?

Can you repeat the problem? If so, what are the steps?
When you move something on the timeline, it immediately snaps past the end of the closest item instead of attaching to it. Visually it’s a jerk of the selected fragment jumping a few frames and cutting into the previous segment.
This usually happens when I split a video file on a track, then add pictures on the same track and audio on a separate audio track.
The workaround is to disable snap and position the piece manually.
video of the problem (851.9 KB)

As always, a mock project to play around (2.6 MB)

5.5.2805.38 is not a valid version.

To find what version of Shotcut you use:

The end of a clip snaps to things as well.

the behavior is inconsistent. Sometimes it snaps exactly to the end of the previous segment, which is desired. But in rare cases it snaps past the previous segment boundary, actually cutting it in the process or creating a transition.
Also if you click to select other items on the timeline, especially the audio track, the snap may work flawlessly.