get subpixel sampling to work