fix inverted padding through y axis