It's probably that either your controller is using a non-standard CC for the modwheel or your PTQ instance has a custom configuration that is listening for the mod-wheel event to trigger the all sounds off (which is possible to have happen by two quick and simple misclicks).
I'd look at your Audio/MIDI setup window and see exactly what your MIDI routing is set to. If there isn't an obvious entry to change or delete, then press your mod-wheel a couple of times and see what PTQ is interpreting that action as and then look at the settings below that part of the screen if there is a listener object related to the CC of the mod-wheel events, which you can then disable or change.
If that fails, you should be able to load the "Minimalistic" preset which is likely to clear up the problem but you'd lose any other MIDI routing customizations you've made.
Spotify:
https://open.spotify.com/artist/2xHiPcCsm29R12HX4eXd4JPianoteq Studio & Organteq
Casio GP300 & Custom organ console