fixing broken vertical image alignment