Pixel spacing fix