Motion tracker doesn't work as expected on subclip with a 2x speed

What is your operating system?
Windows 10 x64

What is your Shotcut version (see Help > About Shotcut)?
23.07.29

Can you repeat the problem? If so, what are the steps?
-add a video to the timeline and cut up a 10s portion starting at the middle*
-change the speed of the video to something like 2x
-add motion tracker filter to it, select some area, analyze
-after the motion analysis job finishes there’s no rectangle visible during playback
–if I extend the subclip to the full original length I can see the rectangle at the very begining (so if it was a 10s cut, this appears for the first 10s of the uncut clip) tracking some random stuff

*Note: it seems that if I only trim the end of the video (so the start of the subclip is actually the start of the full video) this works fine so I assume the issue is the filter doesn’t get the proper start time if speed is changed