Clip function now respects pixel ratio.

When clipping on a screen with a pixel ratio other than 1 users were experiencing a bogus offset compared to screens with a pixel ratio of 1.