Fix mistake with X offset