Accident, scrape on rear derailleur. Hanger is bent. This is not something to eyeball straight. You need a Dag 2.2 tool or similar to align properly. If off, all sorts of shifting problems will occur. As far as the rear housing length, too short can be a problem, a bit long not a problem generally...