Question PC front panel USB strange situation

Mar 1, 2019
2
0
10
Hi, I just build a new pc.

I have a strange problem. When i plug out a USB from the front panel hub, the PC turns on or turns off (depends if the pc is on or off when i plug out the usb).
It could be some sort of short circuit with the front panel USB hub and power switch pin? Does someone have any idea how can i test this and solve it ?
 
I have a corsair carbide series spec-06 case with the factory stock front panel. First i thought that the reset button is stuck. But i removed the reset switch pin from the mother board and the behavior is still the same.