PE: only align the resource if it is aligned before