introduces fix for subpixel rounding