HPA respects origin mode and L/R margins