added snapToPixel plugin