Thanks for the suggestions. The bike is a model that I sell, so the controller is factory programmed, I had to replace the controller as the original stopped working.
The other bikes with the same setup don't do this, so it's a bit of a mystery. I could try running an autotune, but I can't...