Automating quick controls from controller - Track jumps

I have quick controls assigned to a mpk261 knobs. It all works as expected until I want to automate. In writing mode, as soon as the controller starts moving, the track selection jumps to another track and even if I click back to the right track, track selection will be stuck to the “jumped” track while in write mode.