Handle non-square pixel shapes.