Congrats on getting the bike to work.
My son had an aluminum frame mountain bike and the dropout was just slightly off, maybe 1mm. I ended up modifying the inside (attach) surface of the hanger to compensate, rather than bend the dropout. So far so good; not that you need that info at this point in time.
John