Hi Florian,
TBH, I do not find the environment Window in Logic Pro X. How do you open it?
Concerning the problem you have, I am not sure that it comes from the private ports.
Is it happening only with the hardware pads or can you reproduce it also when you click on the GUI?
Kevin