What you are experiencing is a very common installer issue! Whoever wired your new Pioneer, shorted into the ignition circuit.
Modern computer controlled vehicle wiring harnesses should not be tampered with.
A Cruthfield wiring harness that plugged into the OEM electrical harness would have prevented the mess.
__________________
|