Fix incorrect horizontal positions when different HPositions are used with one VPosition.