update pixelPerfect