There are a few characteristics of sinusoidal commutated controllers that are potentially an issue here. They are generally based on low end processors but use higher capability three phase PWM generation, so they can generate smoothly rotating motor voltages from table lookups but cannot do the heavy duty calculations required for full field oriented control. So they do things in simplified ways that have certain effects on the result. The rotor position is the key variable that is needed but difficult to know accurately.
Sine commutated controllers interpolate the hall sensors in time to estimate the rotor position. For this they need accurate and noise free hall signals. This depends not only on the hall sensors themselves, but also on the motor's magnetic field quality at the hall locations. Not all motors have good magnetic design for this, some have various issues like noise or shifts in timing with RPM.
Another characteristic of sine controllers is they control voltage by setting PWM values, they don't precisely control the currents. This works pretty well at low RPM but as the RPM increases the inductance of the motor causes the phase shift between voltage and current to increase. The goal is to control the fields in the motor, which come from current (and keep these precisely at 90 degrees from the rotor). Controlling the voltages instead of the currents causes errors which increase with RPM.
Field Oriented Control, aka Vector Controls instead use measurements of the motor currents and much higher computational power to compute the rotor position with a number of feedback loops. If these feedback loops are working well the result is precise and efficient control over a wide RPM range. But there are many tuning parameters to adjust and the assumptions about the motor application that were made when the code was designed can affect how well it works, and mid drives with varying collections of gears, clutches and chain lag can be difficult to tune or compensate for. Oscillations may creep in and make the system unstable. More programmable controllers are capable of working around this, but those are rare in the ebike world.
Selecting motors with better magnetic design, making the bike transmission system stiffer and avoiding powertrain oscillations can help stabilize the system which can help any controller perform better.