Distributor for a 2003 Dodge Neon SE

I have a 2001 neon. Once I hit a parking curb too hard. When I left the parking lot the car ran ROUGH and the engine light came on. I made it to town and checked underneath and I could see where the frame or whateve,r around the radiator was pushed in towards the brain. when I hooked a chain to it and gently pulled it out the car ran fine again. Recently I hit a speed bump and the exact same thing happened. Of course after I replaced the plugs and wires, with no change in performance did I hook up the chain and gently pull outward. Don’t know why, but it worked. probably something to do with the brain getting too hot and not having enough air circulating??